#include "Consumer.h"
#include "EcoSystem.h"
#include "ecosystem_gdiplus.h"
#ifndef CONSUMER_ANT
#define CONSUMER_ANT

class Ant : public Consumer
{
public:
    const static unsigned int LIFE_SPAN = 360;

    Ant(EcoSystem *eco_system);
    virtual ~Ant();

    virtual    const unsigned int get_species_id() const;
    virtual    Gdiplus::Image *get_entity_image() const;
    virtual int                get_cost_of_being_preyed() const;
    virtual int                get_gain_after_being_preyed() const;
    virtual Entity           *new_entity() const;
    virtual void            on_tick();
    virtual void set_dead();

private:
    bool go_back_to_nest();
    bool go_back_to_last_position_found_grass();
    bool is_this_queen;
    bool is_carrying_grass;
    bool is_going_back_to_nest, is_going_to_last_position_found_grass;
    Vector2D last_position_found_grass;
};

#endif